package com.foreveredu.propms.persist;

import java.util.List;

import com.foreveredu.propms.domain.House;
import com.foreveredu.propms.domain.Owner;
import com.foreveredu.propms.domain.PageModel;
import com.foreveredu.propms.domain.SubDistrict;

public interface IHouseDao extends IDao<House, Integer> {

	//通过房产编号查找房产对象
	House findByHouseId(String houseId);

	//分页查询房产，districtId为0，代表显示所有房产，否则，代表某物业服务处下的所有房产
	PageModel findHouseList(int offset, int districtId);

	//获得小区中的所有已登记和已初始化房产
	List<House> findBySubDistrict(SubDistrict subDistrict);

	//获得小区中所有房产信息列表
	List<House> findAllBySubDistrict(SubDistrict subDistrict);

	House findhouseByOwner(Owner owner);
	
	

}
